<template>
  <div class="employ_conter">
   <div class="employ_conter_top">
      <div class="employ_conter_top1">

        <img class="img1" src="../assets/images/logo.png" />
        <img src="../assets/images/Hire.png" /></div>
   </div>
    <div class="employ_conter_bottom">
      <div class="management" @click="getInsuranceManagement">
        <img src="../assets/images/33.png" />
        <div class="title">
          <span>投保管理</span>
          <svg-icon  className='triangle' icon-class="triangle"  />
        </div>

      </div>
      <div class="management" @click="getSettleClaim">
        <img src="../assets/images/44.png" />
        <div class="title">
          <span>报案理赔</span>
          <svg-icon  className='triangle' icon-class="triangle"  />
        </div>

      </div>
      <div class="management" @click="getPopulationStatistics">
        <img src="../assets/images/55.png" />
        <div class="title">
          <span>数据分析</span>
          <svg-icon  className='triangle' icon-class="triangle"  />
        </div>

      </div>
    </div>
   </div>

</template>
<script>
import { getUserProfile } from "@/api/system/user";

export default {
  data() {
    return {

    }
  },
  //钩子函数
  mounted() {
    getUserProfile().then(response => {
      // console.log('用户信息',response)
      //将用户信息存到本地
      localStorage.setItem('userInfo', JSON.stringify(response.data));

    });
  },
  methods: {
    //点击投保管理跳转到上传人员清单
    getInsuranceManagement(){
       this.$router.push({
         // path:'/insurancemanagement/uploadPersonnelList/index'
         path:'/insurancemanagement/uploadPersonnelList'
       })
    },
    //点击报案理赔跳转到在线报案页面
    getSettleClaim(){
      this.$router.push({
        // path:'/business/OnlineReporting/index'
        path:'/example/OnlineReporting'
      })
    },
    //点击人数统计跳转到人数统计页面
    getPopulationStatistics(){
      this.$router.push({
        // path:'/analysis/populationStatistics/index'
        path:'/analysis/populationStatistics'
      })
    }
  },
  created() {
  }
}
</script>
<style scoped lang="scss">
.employ_conter {
  background-color:#FFFFFF;
  width: 100%;
  //height: 100%;
  min-height: calc(100vh - 80px);
  //overflow: auto;
  //background-image: url("../assets/images/home.jpg");
  background-size:cover;
  padding-top: 1px;
  //padding-bottom: 1px;

  .employ_conter_top{
    height: 200px;
    background: url("../assets/images/11.png") no-repeat;
    background-size: cover;
    margin-top: 7%;
    display: flex;
    align-items: center;
    justify-content: center;
    .employ_conter_top1{
     //background: pink;
      display: flex;
      align-items: center;
      .img1{
        width: 69px;
        height: 71px;
        margin-right: 5px;
      }
      img{
        height: 64px;
        width: 464px;
      }
    }
  }
  .employ_conter_bottom{
    width:60%;
    margin: 7% auto 0;
    //background: pink;
    display: flex;
    justify-content: space-around;
    cursor:pointer;//设置光标显示手指
    .management{
      //background: plum;
      img{
        width:112px;
        height: 108px;
      }
      .title{
        font-size: 20px;
        font-weight: bold;
        display: flex;
        align-items: center;
        margin-top: 10px;

        .triangle{
          font-size: 14px;
          margin-left: 8px;
        }
      }
    }
  }
}
</style>
